package cn.simon.service;

import cn.simon.pojo.User;
import cn.simon.vo.LoginVo;
import cn.simon.vo.RespBean;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 用户表 服务类
 * </p>
 * *simon-yian 开心
 * @author simon-yian
 *
 */
public interface IUserService extends IService<User> {
    public RespBean doLogin(LoginVo loginVo, HttpServletRequest request, HttpServletResponse response);

    public User getUserByCookie(String userTicket,HttpServletRequest request,HttpServletResponse response);

   /**
    * @功能描述:  更新密码
    * @Param:
    * @Return:
    * @Author suxiangshan
    * @Date 2022/11/1 21:12
    */
    public RespBean updatePassword(String userTicket,String password,HttpServletRequest request,HttpServletResponse response);
}
